set_icon() 공개 메소드

public set_icon ( ImageSource ico ) : void
ico ImageSource
리턴 void
예제 #1
0
        public static void open_signup_window(double pos_x, double pos_y)
        {
            if (window_manager.signup_frames.Count + 1 > configurations.max_signup_frame)
                return;

            window_frame frame = new window_frame();
            signup s = new signup();
            s.parent = frame;
            s.user_pin.parent = frame;
            s.load_window();
            frame.window_content.Content = s;

            window_manager.signup_frames.Add(frame);
            open_window(frame, pos_x, pos_y);
            frame.hide_change_view();
            frame.set_title("Sign up");
            frame.set_icon(configurations.img_signup_window_icon);
        }